<template>
	<view class="title-box">
		<view class="block"></view>
		<view class="rigth">
			<view class="title">{{title}}</view>
			<view class="desc">{{desc}}</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "titleBox",
		props: ['title', 'desc'],
		data() {
			return {

			};
		}
	}
</script>

<style scoped lang="scss">
	.title-box {
		display: flex;
		padding: 30rpx;
		align-items:center;
		.block{
			margin-right: 10rpx;
			width: 14rpx;
			height: 36rpx;
			background: #FFDA43;
			border-radius: 5rpx;
		}
		.rigth{
			display: flex;
			align-items: flex-end;
			.title{
				font-weight: 600;
				color: #333333;
				font-size: 32rpx;
			}
			.desc{
				color: #a8a8a8;
				font-size: 24rpx;
				margin-left: 10rpx;
			}
		}
	}
</style>